package com.ruoyi.comment.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.domain.doctor.Doctor;
import com.ruoyi.common.domain.doctor.Patient;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医生评价管理对象 assess
 * 
 * @author ruoyi
 * @date 2025-08-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Assess extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 评价ID
     */
    private Long id;

    /**
     * 评价内容
     */
    @Excel(name = "评价内容")
    private String content;

    /**
     * 评分
     */
    @Excel(name = "评分")
    private BigDecimal score;

    /**
     * 评价时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /**
     * 评价患者ID
     */
    @Excel(name = "评价患者ID")
    private Long patientId;

    /**
     * 被评价医生ID
     */
    @Excel(name = "被评价医生ID")
    private Long doctorId;
    private String reply;

    /**
     * 删除标记：0未删除，1已删除
     */
    private Integer del;
    private Patient patient;
    private Doctor doctor;
    private String patientName;
    private String doctorName;

}
